<template>
    <div>security {{this.userInfo.name}}</div>
</template>

<script>
    import {getCode} from "@/api/demo/demo";
    export default {
        name: "security",
        data() {
            return {
                demo:'',
                userInfo:{}
            }
        },
        methods: {
            getCode() {
                getCode().then(res => {
                    this.demo = res
                  this.$nextTick(

                  )
                });
            }

        },
        created() {

        }
    }
</script>

<style scoped>

</style>
